﻿using Main.UIServices;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Main
{
    public partial class Form1 : Form
    {
        private DbProcessing db;
        private DataProcessing da;
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            // 所有处理

        }

        private async void dTPM_ValueChanged(object sender, EventArgs e)
        {
            //更改了日期
            textBoxInput.Clear();
            DateTime time = dTPM.Value;
            var originalData = await db.QueryAsync(time);

        }

        private   void Form1_Load(object sender, EventArgs e)
        {
            db = new DbProcessing();
            da = new DataProcessing();
           



        }
    }
}
